class TableInfo{
  TableInfo(
      this.tableID,
      this.dbID,
      this.tableName,
      this.tableSort,
      this.tableEngine
  );

  int? tableID;
  int dbID;
  String tableName;
  String tableSort;
  String tableEngine;

  TableInfo.fromJson(Map<String, dynamic> json)
      : tableID=json['table_id'],
        dbID= json['db_id'],
        tableName = json['table_name'],
        tableSort = json['table_sort'],
        tableEngine = json['table_engine'];


  Map<String, Object?> toMap()=> {
    'table_id':tableID,
    'db_id':dbID,
    'table_name':tableName,
    'table_sort':tableSort,
    'table_engine':tableEngine,
  };

}